package com.jade.zsy.inventory.vo;

import com.jade.bss.db.IdEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 库存调拨
 * User: jinya
 * Date: 2017/6/21
 * Time: 20:13
 * TEL :17701640710   MAIL:2009_jinya@163.com
 * To change this template use File | Settings | File Templates.
 */
@Data
@Entity
@Table(name = "ZSY_INV_TRANSFER")
public class TransferVo extends IdEntity {
    @Column(name = "recordDate", updatable = false, nullable = false, length = 100)
    private String recordDate; /** 单击日期 **/
    @Column(name = "receiptNo", updatable = false, nullable = false, length = 25)
    private String receiptNo; /** 单据编号 **/
    @Column(name = "fromWarehouseId", updatable = false, nullable = false, length = 100)
    private long fromWarehouseId; /** 来源仓库 **/
    @Column(name = "logisticsId", updatable = true, nullable = true, length = 100)
    private long logisticsId=0; /** 目的仓库 **/
    @Column(name = "logisticsCompany", updatable = true, nullable = true, length = 100)
    private String logisticsCompany; /** 物流公司 **/
    @Column(name = "waybillNo", updatable = true, nullable = true, length = 100)
    private String waybillNo; /** 物流单号 **/

    public String getRecordDate() {
        return recordDate;
    }

    public void setRecordDate(String recordDate) {
        this.recordDate = recordDate;
    }

    public String getReceiptNo() {
        return receiptNo;
    }

    public void setReceiptNo(String receiptNo) {
        this.receiptNo = receiptNo;
    }

    public long getFromWarehouseId() {
        return fromWarehouseId;
    }

    public void setFromWarehouseId(long fromWarehouseId) {
        this.fromWarehouseId = fromWarehouseId;
    }

    public long getLogisticsId() {
        return logisticsId;
    }

    public void setLogisticsId(long logisticsId) {
        this.logisticsId = logisticsId;
    }

    public String getLogisticsCompany() {
        return logisticsCompany;
    }

    public void setLogisticsCompany(String logisticsCompany) {
        this.logisticsCompany = logisticsCompany;
    }

    public String getWaybillNo() {
        return waybillNo;
    }

    public void setWaybillNo(String waybillNo) {
        this.waybillNo = waybillNo;
    }
}
